﻿<UserControl x:Class="C11_PRC_Editor.ControlTest"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="28" d:DesignWidth="300"
             x:Name="uc">

    <Grid Margin="2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Label Name="Label"  Grid.Column="0"  HorizontalAlignment="Right"  Content="{Binding Path=LabelText, Mode=TwoWay}" />
        <TextBox Name="textbox1" Grid.Column="1" Text="{Binding ElementName=uc, Path=TextBoxText , Mode=TwoWay}" Margin="5,5,5,5" />
    </Grid>
</UserControl>